<?xml version="1.0" encoding="utf-8"?>
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd">
    <services>
        <defaults autowire="true">
            <tag name="foo" />
        </defaults>

        <service id="bar" class="Bar" public="true" />
        <service id="with_defaults" class="Foo" />
        <service id="no_defaults" class="Foo" public="true" autowire="false" />
        <service id="child_def" parent="with_defaults" public="true" autowire="false" />
    </services>
</container>
